package com.walala.logic.resource.bean;

/**
 * 各服务器向调度服务请求的实体
 * @author Li Xiangkai
 */
public class RequestMsg {
	
	/**
	 * 服务请求类型
	 * 1-接入层上报
	 * 2-拉取接入层
	 * 3-逻辑层上报
	 * 4-拉取逻辑层
	 */
	private int requestType;
	
	private String ipPort;
	
	private double weight;

	public int getRequestType() {
		return requestType;
	}

	public void setRequestType(int requestType) {
		this.requestType = requestType;
	}

	public String getIpPort() {
		return ipPort;
	}

	public void setIpPort(String ipPort) {
		this.ipPort = ipPort;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}
	
	

}
